switched from example.html to index.html

added documentation of the main class methods