Adding tree to DLL prorgram.