moving settings into a config file. issue #3.