delete Prefs stuff and start with a own class