Database changes to model

Databse chanages to model and new create methods added