added redis router code