view_app/control_app refactoring.