Redis namespace refactoring