Return instance of controller in createController