Created class Consumer