Fix typo -- config is a dictionary

`self.config` is a dictionary, not an object. References to `self.config.Cmd`
should be `self.config['Cmd']`.
Merge pull request #5 from nickstenning/config-typo

Fix typo -- config is a dictionary