a simple KV DB written by C/C++