Agent writes metadata to file, which is read by scanner core.
Agent writes data to DB table 'agent_data', read by scanner core.
Added db_type to determine what type of data source is involved.