Fleshing out the elasticsearch handler. And changing ThreadList accordingly