Merge pull request #1 from Anmo/master

MTG improvements
Add support for external config file
Merge with roger