A model framework for redis.