Refactor custom connector migration + add messages during import +
improve performances