modified javadoc in the classes and committed documentation