consumer improvements 

Improved message handling for consumers.
Added timer decorator.