add autoloader loading and add bin setting in composer.json