(PE-2427) move 'shutdown' namespace into 'app'
WIP: move 'run-app' and 'parse-cli-args' to 'app'
WIP: remove unnecessary ':require's
WIP: rename app to internal
a little cleanup and re-org