Modify indexing method call from MessageController

- Modify index method by move from MessageController to ElasticSearchUtility class