minor syntax changes
reworked exchange rate completely; added db tables for Xchange rate