Get most of query, add, load, and export working. Remove Derby files.