Creating configuration class