Add a constructor that accepts configuration object

Wanted to pass in the configuration object(instead of reading it down from the app.settings) because the settings can be kept in the codebase, and they can't be edited down once a deploy is made.
Also an assembly that determines the configuration options by some other settings on that particular machine, can also take advantage of this, and dynamically create the configuration object and pass it in.