made Config class not static anymore