Clean up useless files
Change database::load and add database::gettables