added exchange tables and database