moving settings into a config file. issue #3.

this pull request is to resolve #3