Simple timer, can change own events handler and pediod