Make dispatcher set controller to static var to be accessed elsewhere