Moved config functions to ConfigHelper.php