Adding attachments functionality, download, upload etc