Setup routes and models