Created class for Named Timers.
Added new constructor in NamedTimer to allow mocking of TimerFunctions.