Move Debug class to a separate namespace
Move DatabaseDataCollector to the Debug namespace
Add DatabaseQuery class for debugging