What should I do if I want to modify p2pool to suit for zcash?

Check out this thread: Zcash P2Pool Mining Development