base redreport middleware class and group middleware with some models