add templates engine.