TGTimer
Factor out the timer related functionality from `RecordKeeper` to a new `TGTimer` class in a new file.