Command factory should not operate globally.
On creating a new instance, load configuration file, validate it and spawn command for each configuration. Subsequent calls to Command factory will return already instantiated command.
Lazy object creation may cause delayed exceptions during program operation!
Command factory should not operate globally. On creating a new instance, load configuration file, validate it and spawn command for each configuration. Subsequent calls to Command factory will return already instantiated command. Lazy object creation may cause delayed exceptions during program operation!