A simple key-value based database library for C