add ES setup hook and start configuring index templates
started on defining ES mapping