class ADOdb is now instantiated in global.php
deleted functions.php, replaced with tsmmonitor.php which includes new class TSMMonitor