made view pages, add buttons, linked relationships, see code 4 notes