reports: dr3 report - added comments to queries

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

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