figured out how properly to move everything to the module from the model.