introduced priority in applying templates
no more dump info
Merge pull request #11 from Prokopiev/priorityInTemplates

introduced priority in applying templates