created models and migrations and migrated to db
wrote model associations