add ResourceRepository

KVS for ResourceObject