Added comments to Java classes