adapt vimport to new Module class