Btree port. Append-only k/v store