rewrote comments from scratch, added delete attachment feature.