Add thread.yaml