first pass at implementing a persistence mechanism using redis, not complete