Watchdog

Watchdog implemented