launcher: Move appliction's code to one script file