finish the draft of lab/src/import2db.py