move sql reports to separate module