Changes indentation to tabs
Refactors ControlledThread to be a class, not just std::tuple. Adds some minor code improvements.
Moves "depth" and "resplit" functionality to separate libraries.