Began creation of timer class which will be used for periodic functions