added javadocs to the files.