Completed CoffeeMachine functionality