db migrations and routes including root set up