add a helper class that wraps the settings and environment defines

Not sure if anyone else would find something like this useful. I won't be hurt if you decide to discard.