postAPI and barcode

Created class to handle postAPI, added classes to create barcode and
added discountViewController to view the discount with the bar code
(needs styling)