Added javadoc for all classes.