code: func startModules() {
  	logger.Log.Debug("initializing all modules")
  	for _, modWrapper := range modulesArr {
  		logger.Log.Debugf("initializing module: %s", modWrapper.name)
  		if err := modWrapper.module.Init(); err != nil {
  			logger.Log.Fatalf("error starting module %s, error: %s", modWrapper.name, err.Error())
  		}
  	}
  
  	for _, modWrapper := range modulesArr {
  		modWrapper.module.AfterInit()
  		logger.Log.Infof("module: %s successfully loaded", modWrapper.name)
  	}
  }
docs: // startModules starts all modules in order