converted to static the get and clear methods in ToggleConfig because they deal with static data