Modified the controllers and config to support multiple routes