Added javadoc to all classes.