Added lots of TODOs to indicate not understanding or changes. Will
discuss tomorrow. Need to work on status codes (suggestions have been
inserted).