adding generator
added template generator