add template build system