REST endpoint for /estimate, minor tweaks for previous commits

REST endpoint for "/estimate"