extract common bits into page ns, push routes into each example and combine in app