Add layout and views for pages