thread dll to datamodel