Added payroll controller with business rule validation.