Add redis client code.

Here is the client code broken out as requested.