How the application model works