add the DesktopApi  class