Add functionality to import to databases from the CLI and UI.