KVDBLayer: Memory mapped implementation finished. KVDB made more resilient to power off especially with preallocated files.