code: def init(cfg):
      
      global na3x_cfg
      with open(cfg[NA3X_DB]) as db_cfg_file:
          na3x_cfg[NA3X_DB] = json.load(db_cfg_file, strict=False)
      with open(cfg[NA3X_TRIGGERS]) as triggers_cfg_file:
          na3x_cfg[NA3X_TRIGGERS] = json.load(triggers_cfg_file, strict=False)
      with open(cfg[NA3X_ENV]) as env_cfg_file:
          na3x_cfg[NA3X_ENV] = json.load(env_cfg_file, strict=False)
docs: Initialiaze na3x
      :param cfg: db, triggers, environment variables configuration