add .gitignore
change cmd column of the database to UNIQUE PRIMARY KEY
Merge pull request #2 from clonejo/master

Fix #1 and add .gitignore