Refactoring
Configurable redis settings for web and cli interface