Added getStructure() function to the Attachment class.
Merge pull request #24 from sgsabbage/master

Added getStructure() function to the Attachment class.