Updated to add doStart() function

Added a wrapper doStart() to create localDevice and to start a new
thread