Created heartbeat class + added to beta and gamma