refactored bin scripts
added bin to package.json