Adding new class CommandEvent