Extracted the import process into it's own class