Implements the desktop side of the app