Building out the timer directive functionality