Checking in barcode util with updated master code
Removing unnecessary imports
removing unnecessary code
making logic more robust and adding some comments
Merge pull request #427 from meganap/barcode_util

Checking in barcode util with updated master code