Refactoring cleanups. Initial ConfigurationManager for Elasticsearch