turning into a npm package
fix npm bugs 1
npm fix 2