Added autoloader for composer.json
syntax
added target-dir for composer
Merge pull request #3 from phendryx/master

added target-dir and autoload