fix namespaces and use composer for autoload