CIE support, cleanup

Adds support in UPS::_construct() for hitting production or integration endpoints.
General formatting / whitespace / typo cleanup.