Add package name to context

Does this approach seem reasonable? I'm working on adding a few tests so this shouldn't be merged yet.

Are debug messages off by default? To see the logging, I had to use info.