class Config extends ConfigItem {

    public ServerConfig getP2PServerConfig() {
        // TODO need to revisit
        return getServerConfigs().stream().filter(sc -> sc.getApp() == AppType.P2P).findFirst().orElse(null);
    }

    @Deprecated public  Config(
            final JdbcConfig jdbcConfig,
            final List<ServerConfig> serverConfigs,
            final List<Peer> peers,
            final KeyConfiguration keyConfiguration,
            final List<String> alwaysSendTo,
            final Path unixSocketFile,
            final boolean useWhiteList,
            final boolean disablePeerDiscovery);
    public  Config();

}