Emitter becomes Emitter/EmitterContext; emitter, template_loader are separate libs
reduce boilerplate in emitter by making global values fields on EmitterContext