Set up infrastructure for timer functions