Rewritten/Cleaned up the Timer/Clock/NTPSynchronisation code