Add three basic ElasticSearch class, taken from https://github.com/zjullion/PicPosterComplete