def METHOD_NAME(self):
    # Define HAL module
    hal_module = importlib.util.module_from_spec(importlib.machinery.ModuleSpec("HAL", None))
    hal_module.HAL = importlib.util.module_from_spec(importlib.machinery.ModuleSpec("HAL", None))
    hal_module.HAL.motors = importlib.util.module_from_spec(importlib.machinery.ModuleSpec("motors", None))
    # Add HAL functions
    hal_module.HAL.getImage = self.hal.getImage
    hal_module.HAL.setV = self.hal.sendV
    hal_module.HAL.setW = self.hal.sendW
    # Define GUI module
    gui_module = importlib.util.module_from_spec(importlib.machinery.ModuleSpec("GUI", None))
    gui_module.GUI = importlib.util.module_from_spec(importlib.machinery.ModuleSpec("GUI", None))
    # Add GUI functions
    gui_module.GUI.showImage = self.gui.showImage
    # Adding modules to system
    # Protip: The names should be different from
    # other modules, otherwise some errors
    sys.modules["HAL"] = hal_module
    sys.modules["GUI"] = gui_module
    return gui_module, hal_module