barcode parser finished, not tested yet