Initial commit of pagebuf.h including core structures and some docs