REST endpoint for /estimate, minor tweaks for previous commits