dif refactor
add attachments for posts, greate refactor