deleted BarcodesList and put the barcode image generating function into Barcode