Export a config function (so it's refreshable)

Also, may as well export the version that can take a property path and
give the user a subtree.

Resolves #11