added class javadoc