finish draft of assess/import/db-import.py