Add TimeManager class