Added trimming of input tmpl string and updated readme file
Updated version