Share MainController within all controllers