Add start, stop, restart and heartbeat handling to DeadMan module