Merged exchange-related functions into single file.

Exchange-related data structures, #defines, and functions are now in
the exchange.h and exchange.c files. Most of this functionality was
previous contained in the exchange_data.h and exchange_data.c files,
which have been removed.