Split routes and configuration.