add tree view control, redesign IWindow.cpp