Move route configuration into its own file