Started converting pay slip logic to flows.
Converted event handling to coreflow.
Improved event handling in pay slip doc.