Base class for all masses