wrapped barcodeRemoval main into a seperate class and run function