Fix ServiceProvider order

Make sure the config isn't read before the namespace is defined.. Fixes #61