Create class of real time clock