Moved bluetooth logic to its own object