I don't know exactly who is the original author of the whole thing, but Patrick seems to have contribute a lot to this and should be mentioned over here. He is still active, so do not hesitate to ping him about that.