Complete rewrite for v5.1, includes single-run flow.

* Converted to single run
* Cleaned up docs
* Included more config templates