added first version of a barcode scanner