Variable assignment of created objects
Fix exception messages
Refactor variable addition into TxCmd object

A couple of things happened here:

 * TxCmd was introduced to represent a whole line
 * TxState is now use as `self.ctx.get("tx.state")`