Updated the QG with tracers example code to work with the refactorization.
Converted the qg tracer code to use the refactored code.