REFACTOR EsServerConfig