Option to export database to Excel files

Added ability to export all database data to Excel files.