Renamed TOS module to GATDG. Some cleanup.