Debug Improvements

* Added handling for invariant exceptions.
* Added global functions for templates and includes.
* Refactored `Benchmark`.
* Removed old code coverage blocks.

Fixes #16