Renamed barcode file to bootstrap

The file name "barcode" was not very informative. Renamed to "bootstrap" and did
some minor clean up.
Created a scanner constructor