Some more refactoring, did some initial implementation of PWD service methods
Merge branch 'feature/ozp-806-legacy-prefs-api' of https://github.com/ozoneplatform/ozp-owf into legacy-widget-launching