refactored ModuleAdapterProcessor