Rewire routes and begin setup to connect to db