Code to handle locations infrastructure for Vending project