moved watchdog class from test_scripts to working directory
Added averaging (read value 8 times)