Prevented nullpointer exceptions in Data class
Added limit and offset to ECG measurement getter

In the Data class
Implemented ECG class
ECG Measurements can now be viewed