Mostly finished coarse ModuleInterface.
Fixed bugs in ModuleInterface.