Big refactoring to split up the way the server_dir and other related strings are found. All come from functions now that return const string refs.