settings on constructor

initialize settings from Properties to enable all settings passed in on
constructor, updated demo code