Added basic template rendering