hide Redis in a KVStore class

perform static profiling properly