template parse test
fmt formatting
fill func and build func
added build and check functions for analysing templates