It's basically a vending machine simulation, I want to refactor it into two classes, a model (VendingMachine) and a Controller. I'm not sure what else to do. Please help.
https://gist.github.com/anonymous/a978dcd30383f3e618e5
https://gist.github.com/anonymous/a978dcd30383f3e618e5