Remvoed internal protobuf code
updated protobuf gen code