added class javadocs