Added the first version of getting the bar code for a bar code reader. Still not tested.