ModuleRegistry
Class for a ModuleRegistry. A ModuleRegistry represents a registry of modules in the application.
Parameters
module
The module to be registered.
priority
The priority of the module in the registry.
config
The configuration for the module.
setup
A function that sets up the module.