fixed an incorrect data structure in viewservice/common.go, fixed the relevant code in server.go, and added notes and rpc's at the bottom of pbserver/server.go