added a possibility to communicate the ballBarcode from the controller
to the "barcode" class.