c key value store