add javadoc to a few missing classes.
Merge pull request #416 from gcheng/morejavadoc

add javadoc to a few classes.