fixed issue in xcode project, which is humiliating becuase it shouldn't be in the repo. Trying to get encoder/decoder straightened out
still fumbling in the dark, but started on decoder. skeleton of encoder added
missed in last commit. not on any branch?