Dust templates language

Based on #366.