Refactored the tracer-context parameter

Factored out the tracer-context parameter in all functions, these functions all use the global-tracer-context now instead.
The global-tracer-context is now also reset before each run.