Refactor Pharrell global object to use Environment instance :neckbeard:
Refactor Pharrell global object to use Environment instance :neckbeard:

This means that the configuration state is all held within an instance
that is held in one static reference rather than having multiple static
variables hanging around. Might allow for a cleaner internal interface and
a more modular setup.

seadowg/pharrell