defining initialize method and other improvements.
fixing reports module.
fixing reports module.