add Config class and Value class