Added PreferenceProvider

Now saves and reads settings! :)