Moving redis configuration to the HangFireApi class