Put settings in their own file and make the setting loading code a bit cleaner.