[7] Refactored producer/consumer framework

Refactored producer/consumer framework
[7] Refactored producer/consumer framework

Refactored producer/consumer framework