Very crude start of new paging setup. Completely untested (looks fine on paper though)