remove template processing from redis module.  generalize content.py classes.