Give better feedback during import.
Major refactoring of database support.

Added ability to list imports.

All listing output is now in CSV format.