updated README.md file
created the index.js and some tests