Add PayIn + Refactoring

Add PayIn resources + tests
Remove debug flags
Remove unnecessary call to self