added apidocs
Added javadoc to sidebar