Remove debug info.
Refine function names for Reports.pm.
Add querydb script.