More code/comment updating

I have edited code to standerize it. I have also started on comments.
This is not complete yet, but I wanted to commit what I have started