Comments to vending machine, code refactoring