Unified module for MainController