Adding main code that gets item information and handles errors. Currently nothing is done with the data.