setup thread model, rename thread migration