Added Redis routines, prior to refactoring