IDLImportError added; Module import logic refactored