updated app to use Redis pub/sub for realtime messages
merge redis branch into master