Restructed index.html to compile to dist folder