change composer.json target dir and autoload