create model and migration file