Added the cmdcontroller class