Attachments Groundwork

Laid the groundwork for file attachments.