add those weird emacs temp files to .gitignore
fix the directory paths a bit
Make the API method configurable

In case I want to try this on firehose or something else