refactored main.js and made css import super duper