Seller retaining large $ balance of rent to own POHs

Does anyone happen to have a good legal doc/template for me to begin with to outline and govern how this relationship will work into the future? I.e. rent raises, rofr, homes can’t be moved out, lot rent must be paid if tenant defaults and home goes back to seller, etc etc