Implement slotted pages

Not compiling because of 2 errors