Added a Concat operation

Also created a base class for operations.