Added javadoc to CLI