(PE-2427) move run-app + parse-cli-args! to app ns
WIP: rename app to internal
a little cleanup and re-org