Started connecting barcode.py to the database