preparing attachments, new attachments table
add attachment implemented