created a Model class for Measurements