Fixed a bug when allocating a named object with an empty name.
Renamed Set to SetObject
Added a Set class.