first commit. working template engine.