add migrations and create model files