Contract Payment based erpnext

I’m working on app for customize erpnext to advance contract payment

app make sales , purchase , salary slip based on contract and schedule dues on contract

and make payment for invoice based on dues and app has setting for validation on conflict like employee salary slip app setting stop make salary slip assign in same time with contract if contract is contract payment

app will be open source after finish it
any suggestion for app