Add comments and update .gitignore