Refactor the Communication code (BluetoothIO). Remove debug sections.