Add redis functionality