Added stopwatch class