tweaks to cli code: CLI is now exported, apps start CLI with new CLI(app).run(). app.runCli() removed