desktop: update code structure