add pages, elements in pages and blocks