abstract out an inmemory_dictionary_manager