Add thread startup  and isRunning methods