Added object to hold monitoring data.
Added monitoring record object
fixed tests