updated CommandProcessor to model Commit
cd06c5476c0cc2cad13483582ad9d8be4a35e520 incorporating recent changes
directly in the code