Added config file support. We should probably use this in the future instead of hard-coding config options.