Added autoloader to composer.json and namespace to class