Settings hold all functions

settings.php now hold all the functions and the constant variables.