Moved import functions to import.py