Add license and create index.js