code: static Map<String, JDBConnection> connectionMapFromConfig(Config config) throws InitializationException {
  
        final Config globalPropertyConfig;
        if(config.hasPath("acp.property")) {
           globalPropertyConfig = config.getObject("acp.property").toConfig();
        } else if(config.hasPath("property")) {
           globalPropertyConfig = config.getObject("property").toConfig();
        } else {
           globalPropertyConfig = null;
        }
  
  
        final Config connectionsConfig;
        if(config.hasPath("acp.connection")) {
           connectionsConfig = config.getObject("acp.connection").toConfig();
        } else if(config.hasPath("connection")) {
           connectionsConfig = config.getObject("connection").toConfig();
        } else {
           return Collections.emptyMap();
        }
  
        Map<String, JDBConnection> connectionMap = Maps.newLinkedHashMap();
  
        for(String connectionName : uniquePrefixSet(connectionsConfig)) {
           Config connectionConfig = connectionsConfig.getObject(connectionName).toConfig();
           connectionMap.put(connectionName, createConnection(connectionName, connectionConfig, globalPropertyConfig));
        }
  
        return connectionMap;
     }
docs: Creates a map of connection vs. name from properties.
  @return The connection map.
  @throws org.attribyte.api.InitializationException if connection could not be initialized.