Added javadoc documentation
Updated javadoc documentation