changed config class a little