Added new class CCommandFactory, responsible for dynamic ICommand object creation; unfortunately introduced new bug