fixed autoload config, tests and refactored namespaces to suit casing differences