migrated to use async library to clean up latch code, attachments now migrate correctly
Merge pull request #1 from toddself/async

migrated to use async library to clean up latch code, attachments now mi...