added models and migrations according to database model