Adding watchdog.py

Watchdog.py was forgotten and now it's back