Move timer to different class.