Added comments and changed gitignore.