Controller is now using Layout class instead of Template to render the application layout and view contents.