Split main loop - processArgv, init, cleanup ...