boilerplate changes to main, adding in routes and database js