Created IndexPage and factory