adds very simple template engine
string.format fixes