Added setClient method

Added setClient method so we don't have to do several connections when using redis