HeartBeat: Moving  all heartbeat variables to inside the heartbeat class