Added redis support.

Still really hackish...