Info to publish

closes #8
adding index.js for npm
npm module the lib

closes #9
Merge branch 'master' into js-publish

Conflicts:
	package.json