added some preliminary bluetooth support