DOC-249 Edits and fixing code formatting

Some edits and trying to fix code formatting that is wrong in my preview.