make redis wrappers to abstract different types