changing ga.Defs from singleton to static functions and variables ga.defs