Revert "Deleted timer.h"

This reverts commit e601466cb11d6178e6af6742d82de44633f0e602.