move accounting to KVS