Configured the app to use handler/controller classes, and explanded debug messaging.