Added template engine for the UI