Move ALU operations into their own class

This is just part of some cleanup...