Metadata should provide the object owner.
Reorg code to move proto client under datastore.