Issue #6: Config provider and example

If this one looks fine to you, I will extend README and tests as well.