Updating the Javadoc

Adding more information into the Javadocs