Worked on documentation and a bit of formatting