Outline application flow.