Break out Bluetooth functions in own module