Reduce some global state and add some docs
Begin work to try to reduce global state where it serves no purpose.
Also added doc comments to Controller class and improved ever so slightly the ones for the Setup module.
Everything needs more work, but at least it pushes things slightly in a better direction (imo).