uuid: implement uuid_copy
{entity,atom}: introduce common superclass
atom: implement constructor