Replace manually entered imports in ControllerMap with a function to auto import controllers