Add operator class and tests

This PR depends on #5 before it can be merged.

Also, the tests won't pass until the entity PR is merged.
Not sure that this is useful either...if you're removing them it shouldn't ever matter if any were actually removed or not as far as I can see.