Changed variable names
Added config for flask-redis