Added pre initialization phase to support a early initialization of modules. For example to set the implementation of region in VanillaModel.