Added javadocs for base web api classes.
Added comments to the web-api commands to build java-docs from.