Added structure to index.html - untested!
added structure to index and fixed some html bugs