generates models and migrations