make Config and similar classes non-static