Added preliminary bluetooth functionality