glitch configuration move to glitches class method, some cahnges