Add gitignore
Tidy up the code and add more comments.