Added Redis database support