Add Redis support

I added Redis support and I will write the necessary tests yet.