Load settings from json.
Only read workspace from Preferences.
Cleanups.
Move preference store and rename it.
Cleaner workspace api.