start to modulize model.py
Implemented modulated models. Needss testing