Added javadoc to all public methods