Added all the pages and their actions, Was not tested, compiles.