added  javadoc to some files