added java docs everywhere