Changed code to use a config file (closes #1). Added config file to .gitignore.