[demo] adds timer support

As the title said, this adds support for timers to the demo addon.