Move Redis creation into a factory.

We want to be able to build a `Redis` in a bunch of different ways,
so here it is!