move all the pager code to include files