"persist" looks like easy to modify, i'll re-built it for my needs.
One suggestion : maybe not perfect but, for html templates you can do what jQuery does: templates/html in <script> tag, user just gives the tag's id. this way, one can store all templates in one file.
Feel free to contribute your own adapter - it's really easy to create one! Get in touch if you need help.