files rely on basequeries.php for nearly all queries.

removed old artist table
also dropped artist id column and have a dump just in case