Initial implementation of KV as storage