refactoring anki_importer