Added more templates to be more flexible.
Added submodule "lib/compile-utils".