Add elastic search task controller