Add es package

Looking for some feedback on this approach to talking to ES.
Also check the error?