Add jinja2 and class bassed controller.