E3-880: Restructured components
Refactored the WrapperRepository
class into a Module
class with subclasses for base and require.
No real functional changes, just moving some of the module-specific data (e.g. which config file to use, etc.) to the class instead of the calling functions.