[Core] Such a massive overhaul.

ModuleHandler and ModuleInterface now handles all the interfacing
between core and modules.