index.js is main entry