Add Sphinx docs.
Refator envcontrollers.
Refactor outputs.