added stopwatch and test
added clock and default clock
cleaned up IdMap implementation