[TIMOB-11869] [TIMOB-11267] Work on the setup command. Bug fixes and code cleanup. Renamed app.sdk config option to sdk.selected. Updated docs.