Created the clock class