Added Pages functionality with Pen editor