add foundation and view pages