Added javadoc and groovydoc