S56088: refactored the app to use a controller for rendering to enable page creation