Add es package

Looking for some feedback on this approach to talking to ES.
perhaps you should be using a url.URL for this