code: public static CompositeConfiguration getConfig() {
          if (config == null) {
              config = new CompositeConfiguration();
              String configFile = "bard.properties";
  
              if (Util.class.getClassLoader().getResource(configFile) == null) {
                  return config;
              }
  
              try {
                  config.addConfiguration(new PropertiesConfiguration("bard.properties"));
              } catch (ConfigurationException e) {
                  logger.error("Load Bard configuration \"bard.properties\" error: {}", e);
              }
          }
          return config;
      }
docs: Get the Bard config object. The properties is set in "bard.properties".
  
  @return The config object.