added working migration files and models with associations