Hongyi: decouple private classes in MeasurementScheduler.java to make it more tidy. Pass entire task by parcel due to parallel and sequential tasks. Fix some bugs