adding javadocs and a clean index page