Added javadoc comments to classes