Define/instantiate mytimer.