Added template processing to reports.pl and few sample templates