Updated client to use doRead() function

Updated cplClient to use the new doRead() function to start a thread
and also to start and stop the LED