Adding ElasticSearch and core functionality.