Add threadpool model