Added database support to redis object config