added javadoc to all classes