Refactored BaseController into DominionController.