reports: dr23 report - added comments to queries

Changed the code structure so it will be more readable
and added commets.

Change-Id: I16db527cafcf5cc45933627dc7cdafefbc98d48c
Signed-off-by: Shirly Radco <sradco@redhat.com>