Generic KVS API with toy driver