Added controller and internal models for attachments with thumbnails so that we can keep the elements of data together and not in some cryptic file system path for now.