Bug in template engine fixed, example of work with templates added