CMS-3213 Turn AttachmentCommands into AttachmentService