Move time related global variables under TimeManager