Added javadoc for the classes