Add and configure Pages and Layout