code added to read worker thread migration config flag. migration algorithm to be added.