generate initial models and migrate db