Created Clock class.