refactor Calculus class to module