added Java protobuf code, etc