controllers builder page's method getControllers refactoring