updated the javadoc

Added javadoc for the new classes