Update deprecated Config usage

Fixes #67
Change auto_ptr -> unique_ptr, as auto_ptr is now deprecated

Fixes #69