implememted Template Engine
documented templateEngine