Vending machine emulator