added models and db migrations