Ceaning code in Config class