Update readme and add index.js