add main pages
finish main pages