Restructure HTML Document and Pass Validation

I have restructured the html documents to as discussed in issue #163.
Also, made some modifications to pass validation running `tidy5` html validator.