Adds attachment struct in module
Fixes response validation
Merge pull request #4 from netflower/attachments

Attachment fixes