refactoring settings

pull settings into their own classes to decouple from other details.
Remove settings on uninstall