card_scan progress, not functioning. Model.py includes draft of DB structure