add bin folder for distribution and update package.json for npm