Adding routes and config to the autoloader