Adding front-end for elastic search

supersedes #937 with rebase to fix leeroy.