Add .gitignore
Add documentation; add convenience functionality