more work on elasticsearch and the interface, id look ups now global
added table template