Create modules.f90

Added module that contains all the work