refactoring around ImportModule
added test-module script