CLI for desktop app

See-also: Tie sessions between the CLI and desktop app together