I actually just wrote an EDD extension from scratch thinking, "man, I wish there was some sort of boilerplate for this!" ARE YOU A MAGIC GENIE???

:-)