added heart rate processor class