Codex KV: How to build a KV storage from scratch