Added a bunch of classes to implement multipageeditor