Added master/slave Redis support