Move all date and time related stuff to Clock class