adding elasticsearch as dependency