ran migration, set up models, controllers and routes