Added work thread
Added control thread
fix