Refactoring: Move Controller to AppDelegate