refactored contacts import code into ContactsImporter class