Module to return heartrate

We'll have to decide how long to sample for before returning an updated
heart rate. Maybe we want an initial delay but try to update more
quickly after that.