Tirion and Fledermaus did some of the ability coding, and there are also some public libraries in there, like Table and SpellEvent, though these tend to get pretty heavily rewritten as we push the game further and need more functionality out of them.