Psr 4

fix #168.
I'm not sure all the scripts in `bin/` will worked as expect. so it will be cool if anyone have time to review this pr.