Abstract routes and config