Abstracting the main `app` object; ui changes.