Update `startApp` to provide app configuration.
Merge pull request #1329 from rwjblue/provide-config-to-start-app

Update `startApp` to provide app configuration.