Simple timer class, nothing fancy.