add xml parse support, panel and window container