added Config class