TimerService added with tests, it can track duration and memory usage for tasks performed between start and stop calls