add javadoc on github site
fix some javadoc issues.