removed some debug code that caused a bug. restructured the producer and consumer redis statements