Added Lots of docs and fixed some errors