code: def instance():
          
  
          if not hasattr(Controller, '_instance') or Controller._instance is None:
              Controller._instance = Controller()
          return Controller._instance
docs: Singleton to return only on instance of Controller.
  
          :returns: instance of Controller