Refactoring Elastic Search module
1. added support for module functions (e.g. delete document or index)
2. removed ElasticSearchDAO