Added Attachment.js and file for testing