bmo class for faxdetect and cleaning it up as well