added javadoc to the new classes