Initial commit of code for watchdogs