Fix #1 and add .gitignore