Added Docs and Fixed Comments