remove existing termTags on import time and refactor folderhandling on import a bit