Constructor.
The Config2 instance containing tool configuration
The SQLite database for syncing after folder processing