Add threads wrapper.
Reimplement all updates for the thread.