Updated index.html and added javadoc