Config class implementation