A small timer class.