first cut at Redis refactoring