Add documentation and adapt index.html