add Attachment class