Moved the definition of the settings functions to their own file adjusted the makefile to include the new settings_functions