Added Attachments as seperate model
Fixed views to work with new Attachment model