Add ModuleInitializer and related tests. WIP