added helper things, with the help of marc
minimally integrated control thread with the application
    - "a" starts the control thread
    - "s" stops the control thread

finished the control thread; however, it doesn't start the transmit thread