Updated REST call function names. Added correct return for addMeasurments. Added functions to delete/update measurements.