code: def main():
      
      # app = MyMaster()
      app = MyMaster(log_handler=MyLogger(),
                     listener=AppChannelListener(),
                     soe_handler=SOEHandler(),
                     master_application=MasterApplication())
      _log.debug('Initialization complete. In command loop.')
      # Ad-hoc tests can be performed at this point. See master_cmd.py for examples.
      app.shutdown()
      _log.debug('Exiting.')
      exit()
docs: The Master has been started from the command line. Execute ad-hoc tests if desired.