added main file, main.js and associated styling