Set up pages, just before bootstrap