Refactoring and Bluetooth