Added template engine in place of php