Server auto commit and lots of bug fixes

a test pull primarily for figuring out how to use the api to add comments