code: def initialize(**kwargs):
      
      global config
      config_opts = kwargs.setdefault('config',{})
  
      if isinstance(config_opts,basestring):
          config_opts = {'config_filename':config_opts}
          kwargs['config'] = config_opts
  
      if 'environment' in kwargs:
          config_opts['environment'] = kwargs['environment']
  
      config.load_config(**config_opts)
  
      # Overlay the subconfig
      if kwargs.get('name'):
          subconfig = config.get(kwargs.get('name'),{})
          config.overlay_add(subconfig)
  
      config.overlay_add(app_config)
docs: Loads the globally shared YAML configuration