fleshed out parser and its CmdAddItem portion