Fix updateCommandApply in dispatcher
Use of undefined var in error handling cause python error in log.
Change singleton config
Use python module mecanism for singleton loading/reloading and accessing