Implement simple consumer producer classes