Add core functionalities: new page, edit page, history and index.