update composer.json to autoload class