fixed package.json
renamed main.js file
added tests