Update README.md

The config is passed to the constructor
Merge pull request #2 from sanderhahn/patch-1

Update example in README.md