Added gitignore and npmignore
Added basic tests
Clarified modified code in README
1.0.2