add autoload file in composer.json, test coverage