Update Module

Updating the foundations of the module to make it better for merging pull requests going forward to keep Elasticsearch up to date.