Move bluetooth logic out into library.  Move speed_report out into library.