create UI from XML files