Change pubsub method to redis

This needs a redis server package for your system.