Added controllers for all the models, defined the model and db migration script from old version.
Added controllers for all the models, defined the model and db migration script from old version.