added template mechanism
Merge branch 'master' of https://github.com/solusipse/phenomenon