implemented the configuration class