Added threaddao.cpp/h.