Implemented template engine

* RESOLVE #19 Template engine