Got rid of pointers in Model.
Calibrating data extracted as a parameter
missing command added