Update index.html

Added whole lot of more codes for the doc, still needs to be debugged though