added models and migrations