Using the ElasticSearch library instead of raw requests POST
Fixing up requirements.