[Core] Change how modules are configured