added timer.device example
cleaned up and clarified behavior of the timer device and how to properly clean it up