Added elsastic search functionality