Chapter 2: Basic Application Structure