Implementation of the RTC class (Real-time clock module)