HeartBeat: Moving the heartbeat class to inside the drone class.