report post function added to main.class

added the report site violations to main class