Add barcode reading functionality