create app models and run migration