Setup use of ProducerConsumer in main