Wrap tracer function to class
Move Tracer class into own file