add basic model support for redis