Support config files in json and yaml.
Merge pull request #2 from gomezd/master

Support config files in json and yaml.