added paperclip to the gemfile, this is probably the best gem for attachments. Also made a few changes to documents and so on.