Modular arithmetic Packages