renaming main to index.js