Moved TimerExtension to be an inner class in the one class that uses it.
This makes it more hidden, since it is pretty inconsequential to the
rest of the application and doesn't need to be documented or seen.