refactor into modules
Finish refactor and include multiplication of fractions