Activity 2: Building the model-driven app