Configure routes with sub configs