Refactored code for config.php to better organize globally defined
variables.