Adding the timer class, initial draft of RF control thread in xbmain.cpp