First working implementation of page nodes, sort of
Minor changes