add ElasticsearchResource classes for use in elasticsearch indexing