Үүнийг мессежээр илгээх: A coarse-grained model for free and template-bound porphyrin nanorings