update syntax file and add debug flag + create template dir