moved /query endpoint and gui. Gui is in instances/edit
merge