added javadoc comments to some classes