Abstract out the routes