Added docs for cursor.go
Add .gitignore