fixing autoload and namespace

moved out of composer the namespaces for tests.