key/value database library