fixed an issue disabling foreign key constraints on sqlite3
fixed delete_all function
added get_Model function to models module
the ordering in models.export is now important
improved upon query module: interface change, refactoring, support financial data update