Redis integration

not if(){ but if () {... aka USE SPACES (fix everywhere plz)!!