File attachments support

Not sure why 11 files are changed instead of 5, but i updated my files to match your repo before adding my changes. 
"Useful" changes should be 41efbd3 and 688fa4f, while 7bd385d should be identicial to your master repo.