Seperated modulo arithmetic from crypto unit, starting on crypto