Payplans app and other code snippets