Changed the way to require the routes and helpers