Tree with contextmenu done and adding pages and chapters has been done.