remove obsolete template
add build script for compiling templates