added template engine (preliminary yet)