- Refractors `Context` and `Reference` classes into their own module named `environment` (saves local import in `tstream`)