added documentation to index.html
improved documentations