CSH-1754 #time 8h #comment Moved communication to elasticsearch into a class that implements chain of promises with logging using bunyan for easier debugging