Changes to routing and baseUri to basePath
Fix namespacing in autoloader.