Creates configuration class