updated for new API version

stable and passing tests, but still a work in progress. I need to go through the API changelog and update our classes to conform to some of the changes, etc.