removed the old Cmd struct and replaced it with the CommandChain in
the ProcessInput