Added virtual destructor to CmdModule class