Pošalji tekstualnu poruku: A Functional Implementation of the Formal Template Language