added models and migrations, associations