make redis host and port configurable