let's just use the factories from pagetree instead of copying them in
Merge pull request #2 from ccnmtl/reuse-pagetree-factories

let's just use the factories from pagetree instead of copying them in