Move all source files into index.js to simplify.