Moving routes to the config file