Renamed database to kvs - setup to support multiple backends (bdb, leveldb, bangdb).