Elrond

Elrond is the leader of the High Elves and the inventor of a new form of computer program called the Matrix. He developed the program on the High Elves super-technological computers, which they store in thier archives.

He waged war against Sauron for many years but then retired, he now does absolutely nothing to help anyone despite his insistance that he is the leader of the Good Guys. He does, however, hold the position of Chairman of the White Council, a rascist organization who want to bring Sauron down.

Elrond forms the Fellowship of the Ring to destroy Saurons bling, just to spite him. By pure fluke this turns out to be the key to beating him, and Elrond claims to have known that the whole time.