add route for measurements
use decimal instead of float; cleanup