Implementation of simple storage using leveldb.