Added xml parser and controlwindow