Added javadoc

Added JavaDoc to the new classes