belongs to previous commit
better errors, routing tweaks
Added DELETE /survey and started with POST /instance