Timer update

Class definition for timer