Added javadoc to some files