main will now wait for all vending machines to be registered before accepting calls to getMachine and getMachineList