refactored VendingMachine to become a Module, allows extensibility.