Create threads.tpl