How does Payroll Management System work?