Adding redis as an alternative to sqlalchemy