Sets up basis for Page class.