how to create a payroll inventory management system in python