Made redis dependancy actually optional