Basic structure for handling page requests