fix autoloading of bin using composer
fix code style
Merge pull request #2 from jaapio/executable

fix autoloading of bin using composer
merge #3
style fixes