Set up input and output threads for bluetooth communication. not fully
working yet. Worked on 2-20.