added template engine and views