Added .gitignore
Added some commenting and did a little cleanup