Added Docs and did a few changes