Update README and refactor vending machine class code