added a bit more structure
added a main.js as entry point