Created the class clock