Split out copied timer functionality into a header on its own, to clarify copyright/ownership/origin