added index.js
package.json: updated main entry point
WIP