Fixing issue where passed in config in constructor is overwritten by json config file.

Fixing issue where passed in config in constructor is overwritten by json config file. Also updating setup to do an array_merge_recursive so change to the sub array will be merged.  

Also removed some white space.