added MainController
use Maincontroller in equipment