Add example #main usage of the new code in the new App class.