Server-side programs for the vending machine