First part of the revamped operator library.

First three operators from my library + abstract base class. I'm still
working on the rest of the library.